home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2002 March
/
PCWorld_2002-03_cd.bin
/
Software
/
TemaCD
/
xteq
/
setup.exe
/
{app}
/
net_inst
/
remove.bat
< prev
next >
Wrap
DOS Batch File
|
2001-01-13
|
2KB
|
103 lines
@echo off
cls
echo.
echo Starting REMOVAL of Xteq Systems X-Setup...
echo.
call common.bat
IF "%XSET_PATH%"=="" GOTO DISPLAY_ERROR
IF EXIST %XSET_PATH%\bin\XQXSetup.DLL GOTO START_WORK
GOTO NOT_FOUND
:START_WORK
SET SF=%XSET_PATH%\bin\Msscript.ocx
echo Un-Registering MS Script Control...
echo (%SF%)
%XSET_PATH%\bin\Regsvr32.exe /s /c /u "%SF%"
echo.
SET SF=%XSET_PATH%\bin\Stdvcl32.dll
echo Un-Registering Borland.com VCL COM Library...
echo (%SF%)
%XSET_PATH%\bin\Regsvr32.exe /s /c /u "%SF%"
echo.
SET SF=%XSET_PATH%\bin\XQXSetupGlobal.exe
echo Un-Registering Xteq Systems X-Setup Global Server...
echo (%SF%)
"%SF%" /unregserver
echo.
SET SF=%XSET_PATH%\bin\XQXSetup.DLL
echo Un-Registering Xteq Systems X-Setup Engine...
echo (%SF%)
%XSET_PATH%\bin\Regsvr32.exe /s /c /u "%SF%"
echo.
echo Removing TEMP files...
del %TEMP%\XQ*.*
echo.
echo Removing Registry settings...
SET SF=%XSET_PATH%\bin\xsetREMOVE.reg
regedit.exe /s %SF%
echo.
echo Remove finished.
echo.
echo.
goto bye
:DISPLAY_ERROR
REM pause
echo.
echo --------------------------------------------------------------------
echo ERROR!
echo.
echo Variable "XSET_PATH" in COMMON.BAT not set, unable to continue!
echo Please see NET_INST.TXT for detailed instructions.
echo.
echo X-Setup was NOT removed!
echo --------------------------------------------------------------------
echo.
goto bye
:NOT_FOUND
REM pause
echo.
echo --------------------------------------------------------------------
echo ERROR!
echo.
echo Unable to locate X-Setup in the path %XSET_PATH%. Please make sure
echo that the path %XSET_PATH% is correct and that you have at least
echo READ ACCESS to it.
echo.
echo X-Setup was NOT removed!
echo --------------------------------------------------------------------
echo.
goto bye
:bye
echo.
echo.
pause